home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 011 / mouses.arc / M_DBASE.MSC < prev    next >
Text File  |  1986-08-28  |  6KB  |  188 lines

  1. ;
  2. ;    dBase II Pop-up Menu Configuration
  3. ;
  4. Comment     ("Configured for dBase II,dBase IIl")
  5.  
  6. ;
  7. ;    Parameters
  8. ;
  9. Sensitivity    (8, 10)     ; (Xinc, Yinc)
  10. Hysteresis    (1, 1)        ; (AutoX, AutoY)
  11. ReverseVideo    (Yes)        ; Menu is displayed in reverse video
  12. FixedMenu    (Yes)        ; Menu is fixed
  13. MenuCenter    (70,20)     ; Menu appears in lower right corner
  14. EnableBeep    (No)        ; Allows menu switching rather than beep
  15.  
  16. ;
  17. ;    Cursor Definitions
  18. ;
  19. CommandKeys:Cursor
  20. (
  21.     Left   ()
  22.     Right  ()
  23.     Up     ()
  24.     Down   ()
  25. )
  26.  
  27. ArrowKeys: Cursor
  28. (
  29.     Left   ([Left])
  30.     Right  ([Right])
  31.     Up     ([Up])
  32.     Down   ([Down])
  33. )
  34.  
  35. ;
  36. ;    Button Definitions
  37. ;
  38. LBM:    Button    (Menu(Main),Cursor(CommandKeys)); Left button, Main Menu
  39. LBO:    Button    (Menu(More),Cursor(CommandKeys)); Left button, More Menu
  40.  
  41. MBF:    Button    (Menu(Full),Cursor(ArrowKeys)); Middle button, Full Menu
  42. MBE:    Button    (Menu(Edit),Cursor(ArrowKeys)); Middle button, Edit Menu
  43. MBA:    Button    (Menu(Add),Cursor(ArrowKeys)); Middle button, Add Menu
  44. MBI:    Button    (Menu(Insert),Cursor(ArrowKeys)); Middle button, Insert Menu
  45. MBO:    Button    (Menu(Modify),Cursor(ArrowKeys)); Middle button, Modify Menu
  46.  
  47. RBF:    Button    (Menu(File),Cursor(CommandKeys)); Right button, File Menu
  48.  
  49.  
  50. ;
  51. ;    Menu Definitions  -  Left Button
  52. ;
  53. Main: Menu
  54. (
  55.     Title    ("Main")
  56.     Item    ("Command Line Cursor", Cursor(CommandKeys))
  57.     Item    ("Append",              Keys("append" [Enter]))
  58.     Item    ("Edit Current Record", Keys ("Edit *" [Enter]))
  59.     Item    ("Edit Record n",       Keys ("Edit "))
  60.     Item    ("Insert Record",       Keys ("Insert" [Enter]))
  61.     Item    ("Display Record",      Keys ("Disp" [Enter]))
  62.     Item    ("Display All Records", Keys ("Disp all" [Enter]))
  63.     Item    ("Esc",                 Keys ([Esc]))
  64.     Item    ("More Menu",           Menu(More), Button(LBO))
  65. )
  66.  
  67.  
  68. More: Menu
  69. (
  70.     Title    ("More")
  71.     Item    ("Command Line Cursor", Cursor(CommandKeys))
  72.     Item    ("Main Menu",           Menu(Main), Button(LBM))
  73.     Item    ("Locate for ...",      Keys("locate for "))
  74.     Item    ("Continue search",     Keys("continue" [Enter]))
  75.     Item    ("Goto Top",            Keys("goto top" [Enter]))
  76.     Item    ("Goto Bottom",         Keys("goto bottom" [Enter]))
  77.     Item    ("Index on ...",        Keys("index on "))
  78.     Item    ("Sort on ...",         Keys("Sort on "))
  79.     Item    ("Report",              Keys("report" [Enter]))
  80.     Item    ("Printer On",          Keys ("set print on" [Enter]))
  81.     Item    ("Printer Off",         Keys ("set print off" [Enter]))
  82.     Item    ("Eject",               Keys("Eject" [Enter]))
  83. )
  84.  
  85.  
  86. ;
  87. ;    Menu Definitions  -  Middle Button
  88. ;
  89. Full: Menu
  90. (
  91.     Title    ("Full Screen Menus")
  92.     Item    ("Full Screen Cursor",  Cursor(ArrowKeys))
  93.     Item    ("Add Record Menu",     Menu(Add),button(MBA))
  94.     Item    ("Edit Record Menu",    Menu(Edit),button(MBE))
  95.     Item    ("Insert Record Menu",  Menu(Insert),button(MBI))
  96.     Item    ("Modify Menu",         Menu(Modify),button(MBO))
  97. )
  98.  
  99.  
  100. Add: Menu
  101. (
  102.     Title    ("Add Record")
  103.     Item    ("Full Screen Cursor",  Cursor(ArrowKeys))
  104.     Item    ("Stop Adding - Save",  Keys ([c-W]))
  105.     Item    ("Stop Adding - No Save",Keys ([c-Q]))
  106.     Item    ("Next Record",         Keys ([c-C]))
  107.     Item    ("Erase Data",          Keys ([c-Y]))
  108.     Item    ("Delete Character",    Keys ([c-G]))
  109.     Item    ("Insert/Overwrite",    Keys ([c-V]))
  110.     Item    ("Delete Record Yes/No",Keys ([c-U]))
  111.     Item    ("Full Screen Menu",    Menu(Full), Button(MBF))
  112. )
  113.  
  114.  
  115. Edit: Menu
  116. (
  117.     Title    ("Edit Record")
  118.     Item    ("Full Screen Cursor",  Cursor(ArrowKeys))
  119.     Item    ("Stop Editing - Save", Keys ([c-W]))
  120.     Item    ("Stop Editing - No Save",Keys ([c-Q]))
  121.     Item    ("Previous Record",     Keys ([c-R]))
  122.     Item    ("Next Record",         Keys ([c-C]))
  123.     Item    ("Erase Data",          Keys ([c-Y]))
  124.     Item    ("Delete Character",    Keys ([c-G]))
  125.     Item    ("Insert/Overwrite",    Keys ([c-V]))
  126.     Item    ("Delete Record Yes/No",Keys ([c-U]))
  127.     Item    ("Full Screen Menu",    Menu(Full), Button(MBF))
  128. )
  129.  
  130.  
  131. Insert: Menu
  132. (
  133.     Title    ("Insert Record")
  134.     Item    ("Full Screen Cursor",  Cursor(ArrowKeys))
  135.     Item    ("Stop Inserting - Save", Keys ([c-W]))
  136.     Item    ("Stop Inserting - No Save",Keys ([c-Q]))
  137.     Item    ("Erase Data",          Keys ([c-Y]))
  138.     Item    ("Delete Character",    Keys ([c-G]))
  139.     Item    ("Insert/Overwrite",    Keys ([c-V]))
  140.     Item    ("Delete Record Yes/No",Keys ([c-U]))
  141.     Item    ("Full Screen Menu",    Menu(Full), Button(MBF))
  142. )
  143.  
  144.  
  145. Modify: Menu
  146. (
  147.     Title    ("Modify")
  148.     Item    ("Full Screen Cursor",  Cursor(ArrowKeys))
  149.     Item    ("Stop - Save",         Keys ([c-W]))
  150.     Item    ("Stop - No Save",      Keys ([c-Q]))
  151.     Item    ("Erase Data",          Keys ([c-Y]))
  152.     Item    ("Delete Character",    Keys ([c-G]))
  153.     Item    ("Delete Line",         Keys ([c-T]))
  154.     Item    ("Insert/Overwrite",    Keys ([c-V]))
  155.     Item    ("Insert new line",     Keys ([c-N]))
  156.     Item    ("Scroll page down",    Keys ([c-C]))
  157.     Item    ("Scroll up",           Keys ([c-R]))
  158.     Item    ("Full Screen Menu",    Menu(Full), Button(MBF))
  159. )
  160.  
  161.  
  162. ;
  163. ;    Menu Definitions  -  Right Button
  164. ;
  165. File: Menu
  166. (
  167.     Title    ("File")
  168.     Item    ("Files on A:",         Keys("list file on A" [Enter]))
  169.     Item    ("Files on B:",         Keys("list file on B" [Enter]))
  170.     Item    ("Files on C:",         Keys("list file on C" [Enter]))
  171.     Item    ("Use ...",             Keys("Use "))
  172.     Item    ("Display Structure",   Keys("disp struct" [Enter]))
  173.     Item    ("Create",              Keys("create" [Enter]))
  174.     Item    ("Quit",                Keys("Quit" [Enter]))
  175. )
  176.  
  177. ;
  178. ;    Mouse Definition
  179. ;
  180. Mouse
  181. (
  182.     Left    (LBM)            ; Left Button:     Main Menu
  183.     Middle    (MBF)            ; Middle Button: Full Screen Menu
  184.     LeftRight(MBF)            ; Left Right Chord: Full Screen Menu
  185.     Right    (RBF)            ; Right Button:  File Menu
  186.     Cursor    (CommandKeys)
  187. )
  188.